package com.barbeque.mall.mapper;

import com.barbeque.mall.bean.comment.MarketComment;
import com.barbeque.mall.bean.comment.MarketCommentExample;
import com.barbeque.mall.bean.wx.comment.WxCommentList;
import com.barbeque.mall.bean.wx.comment.WxMarketComment;
import com.barbeque.mall.bean.wx.comment.WxMarketCommentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxMarketCommentMapper {
    long countByExample(WxMarketCommentExample example);

    int deleteByExample(WxMarketCommentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxMarketComment record);

    int insertSelective(WxMarketComment record);

    List<WxMarketComment> selectByExample(WxMarketCommentExample example);

    WxMarketComment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxMarketComment record, @Param("example") WxMarketCommentExample example);

    int updateByExample(@Param("record") WxMarketComment record, @Param("example") WxMarketCommentExample example);

    int updateByPrimaryKeySelective(WxMarketComment record);

    int updateByPrimaryKey(WxMarketComment record);

    List<WxCommentList> selectByValueID(Integer valueId);
}